projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db76ce
)
checkbutton: Don't reorder non-existent indicator widget
author
Timm Bäder
<mail@baedert.org>
Mon, 26 Feb 2018 17:06:04 +0000
(18:06 +0100)
committer
Timm Bäder
<mail@baedert.org>
Mon, 26 Feb 2018 17:23:20 +0000
(18:23 +0100)
gtk/gtkcheckbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcheckbutton.c
b/gtk/gtkcheckbutton.c
index c15881eb7e3d00e8cc26f4e8f1c296bfe8da537b..d5d1dcdd0e70a736c736bd9405cba4fa8991eadc 100644
(file)
--- a/
gtk/gtkcheckbutton.c
+++ b/
gtk/gtkcheckbutton.c
@@
-279,6
+279,9
@@
gtk_check_button_direction_changed (GtkWidget *widget,
{
GtkCheckButtonPrivate *priv = gtk_check_button_get_instance_private (GTK_CHECK_BUTTON (widget));
+ if (!priv->indicator_widget)
+ return;
+
if (previous_direction == GTK_TEXT_DIR_LTR)
{
/* Now RTL -> Move the indicator to the right */